package homework.EXERCICE4;

import java.util.Scanner;

public class EXERCISE4 {
    public static void main(String[] args) {
        String person[]={"je","tu","il/elle","nous","vous","ils/elles"};
        String variation[]={"e","es","e","ons","ez","ent"};
        System.out.print("donnez un verbe regulier du premier groupe : ");
        String s=new Scanner(System.in).next();

        if (s.regionMatches(true,s.length()-2,"er",0,2))
            for (int i = 0; i < person.length ; i++)
                System.out.println(person[i]+" "+s.substring(0,s.length()-2)+variation[i]);

        else System.out.println("error");
    }
}